package com.chixing.entity;


import java.time.LocalDate;
import java.time.LocalDateTime;


public class Candidate {
    private int candidateId;
    private String candidateName;
    private String candidatePassword;
    private String candidateEmail;
    private long candidatePhone;
    private String candidateGender;
    private LocalDate candidateBirthDate;
    private String candidateCity;
    private String candidateEducationLevel;
    private int candidateWorkExperience;
    private String candidateResume;
    private String candidateStatus;
    private LocalDateTime createdAt;
    private LocalDateTime updateAt;

    public Candidate(){}
    public Candidate(int candidateId, String candidateName, String candidatePassword, String candidateEmail, long candidatePhone, String candidateGender, LocalDate candidateBirthDate, String candidateCity, String candidateEducationLevel, int candidateWorkExperience, String candidateResume, String candidateStatus, LocalDateTime createdAt, LocalDateTime updateAt) {
        this.candidateId = candidateId;
        this.candidateName = candidateName;
        this.candidatePassword = candidatePassword;
        this.candidateEmail = candidateEmail;
        this.candidatePhone = candidatePhone;
        this.candidateGender = candidateGender;
        this.candidateBirthDate = candidateBirthDate;
        this.candidateCity = candidateCity;
        this.candidateEducationLevel = candidateEducationLevel;
        this.candidateWorkExperience = candidateWorkExperience;
        this.candidateResume = candidateResume;
        this.candidateStatus = candidateStatus;
        this.createdAt = createdAt;
        this.updateAt = updateAt;
    }

    public int getCandidateId() {
        return candidateId;
    }

    public void setCandidateId(int candidateId) {
        this.candidateId = candidateId;
    }

    public String getCandidateName() {
        return candidateName;
    }

    public void setCandidateName(String candidateName) {
        this.candidateName = candidateName;
    }

    public String getCandidatePassword() {
        return candidatePassword;
    }

    public void setCandidatePassword(String candidatePassword) {
        this.candidatePassword = candidatePassword;
    }

    public String getCandidateEmail() {
        return candidateEmail;
    }

    public void setCandidateEmail(String candidateEmail) {
        this.candidateEmail = candidateEmail;
    }

    public long getCandidatePhone() {
        return candidatePhone;
    }

    public void setCandidatePhone(long candidatePhone) {
        this.candidatePhone = candidatePhone;
    }

    public String getCandidateGender() {
        return candidateGender;
    }

    public void setCandidateGender(String candidateGender) {
        this.candidateGender = candidateGender;
    }

    public LocalDate getCandidateBirthDate() {
        return candidateBirthDate;
    }

    public void setCandidateBirthDate(LocalDate candidateBirthDate) {
        this.candidateBirthDate = candidateBirthDate;
    }

    public String getCandidateCity() {
        return candidateCity;
    }

    public void setCandidateCity(String candidateCity) {
        this.candidateCity = candidateCity;
    }

    public String getCandidateEducationLevel() {
        return candidateEducationLevel;
    }

    public void setCandidateEducationLevel(String candidateEducationLevel) {
        this.candidateEducationLevel = candidateEducationLevel;
    }

    public int getCandidateWorkExperience() {
        return candidateWorkExperience;
    }

    public void setCandidateWorkExperience(int candidateWorkExperience) {
        this.candidateWorkExperience = candidateWorkExperience;
    }

    public String getCandidateResume() {
        return candidateResume;
    }

    public void setCandidateResume(String candidateResume) {
        this.candidateResume = candidateResume;
    }

    public String getCandidateStatus() {
        return candidateStatus;
    }

    public void setCandidateStatus(String candidateStatus) {
        this.candidateStatus = candidateStatus;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    public LocalDateTime getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(LocalDateTime updateAt) {
        this.updateAt = updateAt;
    }

    @Override
    public String toString() {
        return "Candidate{" +
                "candidateId=" + candidateId +
                ", candidateName='" + candidateName + '\'' +
                ", candidatePassword='" + candidatePassword + '\'' +
                ", candidateEmail='" + candidateEmail + '\'' +
                ", candidatePhone=" + candidatePhone +
                ", candidateGender='" + candidateGender + '\'' +
                ", candidateBirthDate=" + candidateBirthDate +
                ", candidateCity='" + candidateCity + '\'' +
                ", candidateEducationLevel='" + candidateEducationLevel + '\'' +
                ", candidateWorkExperience=" + candidateWorkExperience +
                ", candidateResume='" + candidateResume + '\'' +
                ", candidateStatus='" + candidateStatus + '\'' +
                ", createdAt=" + createdAt +
                ", updateAt=" + updateAt +
                '}';
    }
}
